/*
Theme Name: 追格企业官网主题（开源版）
Theme URI: https://www.zhuige.com/product/gwztfree.html
Author: the 追格
Author URI: https://www.zhuige.com/
Description: 追格企业官网主题（开源版）由追格（www.zhuige.com）开发的一款免费开源的WordPress主题，专为企业建站而设计。
Version: 1.1.7
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: 追格, 免费, 企业, 官网
*/

@import 'css/base.css';
@import 'css/grid.css';

/***== 通用 ==***/
.zhuige-base-block {}

.zhuige-gray {
    background-color: #F4F6F8;
}

.zhuige-base-title {
    padding: 30px;
    text-align: center;
}

.zhuige-base-title h1 {
    font-size: 30px;
    padding-bottom: 20px;
}

.zhuige-base-title p {
    font-size: 16px;
    color: #666666;
    font-weight: 200;
}

/***== 顶部导航 ==***/
header {
    width: 100%;
    position: fixed;
    z-index: 99;
    height: 80px;
    background: transparent; /* 初始透明 */
    margin-bottom: 20px;
    box-shadow: none; /* 不显示阴影 */
    opacity: 1;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/**-- 主导航 --**/
nav {
    height: 80px;
}

nav .logo {
    color: #333333;
    font-size: 20px;
    font-weight: 200;
    letter-spacing: -1px;
}

nav .logo img {
    height: 40px;
    width: auto;
    border-radius: 2px;
}

nav .logo span {
    margin-left: 16px;
    border-left: 1px solid #EEEEEE;
    padding-left: 16px;
    height: 40px;
    line-height: 40px;
}

nav .logo, 
nav .zhuige-nav-list li>a {
    color: white; /* 初始字体颜色为白色 */
    transition: color 0.3s ease;
}

/* 滚动后背景变为白色，字体变为黑色 */
.header-scrolled {
    background: white; /* 滚动后背景变白 */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 添加阴影 */
}

.header-scrolled .logo, 
.header-scrolled .zhuige-nav-list li>a {
    color: black; /* 滚动后字体颜色变为黑色 */
}

.zhuige-nav {
    display: flex;
    flex: 1;
    margin-top: -8px;
}

.zhuige-nav-list {
    display: flex;
    flex: 1;
    padding: 0 0 0 40px;
}

.zhuige-nav-list li {
    padding: 0 15px;
    list-style: none;
    position: relative;
}

.zhuige-nav-list li>a {
    color: #333333;
    font-weight: 400;
    padding: 6px 0;
    text-decoration: none;
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    overflow: hidden;
    font-size: 18px;
}

.zhuige-nav-list li>a:hover {
    color: #2C70DB;
}

.zhuige-nav-list li>a:hover:before {
    left: 0;
    right: 0;
}

.zhuige-nav-list li>a:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 51%;
    right: 51%;
    bottom: 0;
    background: #2C70DB;
    height: 2px;
    -webkit-transition-property: left, right;
    transition-property: left, right;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

.zhuige-nav-list li.nav-activ>a {
    font-weight: 500;
    color: #2C70DB;
}

.zhuige-nav-list li.nav-activ>a:before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 200%;
    left: -50%;
    bottom: 0;
    background: #2C70DB;
    height: 2px;
}

/* 媒体查询：当屏幕宽度小于等于 768px（常见手机屏幕大小） */
@media (max-width: 768px) {
    .zhuige-nav-list li>a {
        font-size: 14px; /* 手机端字体大小 */
    }
    
    header {
        height:60px;
    }
    
    nav {
        height: 60px;
    }
    
    nav .logo {
        font-size: 14px;
    }
    
    nav .logo img {
        height: 30px;
    }
}

/* 媒体查询：当屏幕宽度小于等于 480px（更小的手机屏幕） */
@media (max-width: 480px) {
    .zhuige-nav-list li>a {
        font-size: 13px; /* 更小手机端字体大小 */
    }
    
    nav .logo {
        font-size: 13px;
    }
    
}

/***== 底部导航 ==***/
footer {
    min-height: 60px;
    line-height: 60px;
    background: #202327;
    color: #999999;
    font-size: 12px;
}


.zhuige-foot-link {
    font-size: 12px;
    color: #999999;
}

.zhuige-foot-link text {
    margin-left: 8px;
    margin-right: 8px;
}

.zhuige-foot-link a, .zhuige-footer-copy a {
    color: #999999;
}

.zhuige-foot-link a:hover,
.zhuige-footer-copy a:hover {
    color: #FFFFFF; /* 鼠标悬停时的字体颜色变为白色 */
}

.zhuige-footer-copy {
    font-weight: 200;
}

.zhuige-footer-copy img {
    height: 14px;
    margin: 0 4px;
}

.zhuige-footer-links span {
    margin: 0 8px;
}

.zhuige-header-block {
    padding-top: 0px;
}

@media (max-width: 768px) {
    footer {
        line-height: normal; /* 高度自动适应内容 */
        padding: 20px; /* 增加内边距以适应内容 */
    }

    .zhuige-foot-link {
        font-size: 14px; /* 增加字体大小 */
        justify-content: center; /* 确保在小屏幕上居中 */
    }

    .zhuige-footer-copy {
        font-size: 12px; /* 保持字体大小一致 */
        text-align: center; /* 文本居中 */
    }
}

/*** 大图轮播 ***/
.lb-box {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    z-index: 9;
}

.lb-content {
    width: 100%;
    height: 100%;
}

.lb-item {
    width: 100%;
    height: 100%;
    display: none;
    position: relative;
}

.lb-item>a {
    width: 100%;
    height: 100%;
    display: block;
}

.lb-item>a>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lb-item>a>div {
    width: 100%;
    display: block;
    position: absolute;
    bottom: 0px;
    padding: 15px;
    color: #fff;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
}

.lb-item>a>div>h2 {
    width: 100%;
    padding-right: 170px;
    height: 1em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lb-item>cite {
    width: 100%;
    height: 100%;
    display: block;
}

.lb-item>cite>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lb-info {
    position: absolute;
    z-index: 9;
    top: 0;
    left: 0;
}

.lb-item.active {
    display: block;
    left: 0%;
}

.lb-item.active.left {
    left: -100%;
}

.lb-item.active.right {
    left: 100%;
}

/* 轮播控制 */
.lb-item.next,
.lb-item.prev {
    display: block;
    position: absolute;
    top: 0px;
}

.lb-item.next {
    left: 100%;
}

.lb-item.prev {
    left: -100%;
}

.lb-item.next.left,
.lb-item.prev.right {
    left: 0%;
}

.lb-sign {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 5px 3px;
    border-radius: 16px;
    list-style: none;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.04);
}

.lb-sign li {
    width: 22px;
    height: 20px;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-align: center;
    float: left;
    color: #aaa;
    margin: auto 4px;
    border-radius: 13px;
    cursor: pointer;
    opacity: 0.6;
}

.lb-sign li:hover {
    color: #fff;
}

.lb-sign li.active {
    color: #000;
    opacity: 1;
    background-color: #EBEBEB;
    transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear;
}

.lb-ctrl {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    vertical-align: middle;
    font-weight: 200;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    user-select: none;
    background-color: rgba(255, 255, 255, .4);
    color: rgba(44, 112, 219, 1);
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.1s linear;
    -webkit-transition: all 0.1s linear;
}

.lb-ctrl.left {
    left: -50px;
}

.lb-ctrl.right {
    right: -50px;
}

.lb-box:hover .lb-ctrl.left {
    left: 10px;
}

.lb-box:hover .lb-ctrl.right {
    right: 10px;
}

.lb-ctrl:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

/* 轮播点差异 */
.lb-sign {
    right: auto;
    left: 50%;
    margin-left: -40px;
}

.lb-sign li {
    height: 6px;
    width: 6px;
    font-size: 6px;
    line-height: 6px;
    color: rgba(0, 0, 0, 0);
    background-color: rgba(255, 255, 255, .6);
}

.lb-sign li:hover {
    color: rgba(0, 0, 0, 0);
    background-color: rgba(44, 112, 219, 1);
    transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear;
}

.lb-sign li.active {
    color: rgba(0, 0, 0, 0);
    width: 18px;
    opacity: 1;
    background-color: rgba(44, 112, 219, 1);
    transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear;
}

/*** 大图轮播 end ***/

.zhuige-base-text-img * {
    margin: 10px 10%;
    font-size: 13px;
    font-weight: 200;
    line-height: 2em;
}


/**** 产品轮播 ****/
.zhuige-goods-swiper .lb-box {
    height: 360px;
}

.zhuige-goods-swiper .lb-ctrl {
    top: 40%;
}

.zhuige-goods-block {
    height: 320px;
    width: 400px;
    overflow: hidden;
    position: relative;
    border-radius: 4px;
    margin: 0 5px;
}

.zhuige-goods-block img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.zhuige-goods-block h6 {
    position: absolute;
    height: 100%;
    width: 100%;
    padding: 0 20px;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    display: flex; /* 使用 flex 布局 */
    justify-content: flex-start; /* 水平居左 */
    align-items: flex-end; /* 垂直对齐到底部 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.zhuige-goods-block h6:hover {
    background: none;
}

.zhuige-goods-block h6 a {
    font-size: 13px;
    color: #FFFFFF;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: 10px; /* 可选，增加底部空间 */
}

.zhuige-article-list-block {
    border-bottom: 1px dotted #DDDDDD;
    padding: 20px 0;
}

.zhuige-article-list-block:last-of-type {
    border: none;
    padding-bottom: 0;
}

.zhuige-article-list-block:first-of-type {
    padding-top: 0;
}

.zhuige-article-list-block-img {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 240px;
    -ms-flex: 0 0 240px;
    flex: 0 0 240px;
    height: 160px;
    width: 240px;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.zhuige-article-list-block-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.zhuige-article-list-block-img img:hover {
    transform: scale(1.1);
}

.zhuige-article-list-block-img span {
    height: 20px;
    line-height: 20px;
    font-size: 12px;
    font-weight: 200;
    color: #FFFFFF;
    padding: 0 8px;
    border-radius: 2px;
    background: rgba(0, 0, 0, .6);
    position: absolute;
    z-index: 8;
    top: 10px;
    left: 10px;
}

.zhuige-article-list-block-text {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    margin-left: 12px;
    overflow: hidden;
}

.zhuige-article-list-block-text h6 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.8em;
}

.zhuige-article-list-block-text h6 strong {
    display: inline;
    font-size: 10px;
    color: #FFFFFF;
    padding: 2px 6px;
    border-radius: 2px;
    background: #2C70DB;
    margin-right: 6px;
    vertical-align: middle;
}

.zhuige-article-list-block-text div {
    font-size: 14px;
    font-weight: 200;
    line-height: 1.8;
    height: 3.6em; /* 高度设为两行的高度 */
    word-break: break-word; /* 允许单词在必要时换行 */
    text-overflow: ellipsis; /* 溢出时显示省略号 */
    overflow: hidden; /* 隐藏溢出的部分 */
    display: -webkit-box; /* 设置为 flexbox 以便限制行数 */
    -webkit-box-orient: vertical; /* 垂直排列子元素 */
    -webkit-line-clamp: 2; /* 限制显示两行 */
}

.zhuige-article-list-block-text p {
    font-size: 14px;
    font-weight: 200;
    color: #7f7f7f;
}

.zhuige-article-list-block-text p cite {
    margin: 0 8px;
}

.zhuige-article-list-block-text p cite:first-of-type {
    margin-left: 0;
}

/*** 分页 ***/
.zhui-pagination {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    padding: 40px;
}

.zhui-pagination a {
    display: block;
    padding: 0 20px;
    line-height: 40px;
    height: 40px;
    border: 1px solid #DDDDDD;
    border-right: 0;
    background-color: #FFFFFF;
    font-size: 13px;
    font-weight: 300;
}

.zhui-pagination a:hover {
    background-color: #2B76ED;
    border-color: #2B76ED;
    color: #FFFFFF;
}

.zhui-pagination a:first-child {
    border-radius: 6px 0 0 6px;
}

.zhui-pagination a:last-child {
    border: 1px solid #DDDDDD;
    border-radius: 0 6px 6px 0;
}

.zhui-pagination a.zhui-page-on {
    background-color: #2B76ED;
    border-color: #2B76ED;
    color: #FFFFFF;
}

.zhuige-block {
    background: #FFFFFF;
    border-radius: 4px;
}

.zhuige-main-cont .zhuige-nav-list {
    padding: 0;
}

.wp-block-heading{
    font-family: 'Arial', sans-serif; /* 字体类型 */
    font-size: 1.8em; /* 调整字体大小 */
    font-weight: bold; /* 字体加粗 */
    color: #333; /* 文字颜色 */
    text-align: left; /* 左对齐标题 */
    padding: 10px 0; /* 增加上下的内边距 */
    margin: 20px 0; /* 调整上下的外边距 */
    letter-spacing: 0.05em; /* 增加字间距 */
    border-left: 5px solid #4CAF50; /* 左侧加绿色边框 */
    padding-left: 15px; /* 增加左侧边距，留出空间给边框 */
    line-height: 1.4em; /* 调整行高 */
}

strong {
    font-weight: bold !important; /* 确保加粗生效 */
}


.zhuige-main-text .zhuige-block {
    font-size: 16px;
    line-height: 1.8em;
    min-height: 480px;
}

.zhuige-main-text .zhuige-block p {
    margin-bottom: .6em;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.zhuige-main-text .zhuige-block img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: flex;
}

.wp-block-media-text.is-stacked-on-mobile {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    padding: 0;
    margin: 15px 0; /* 上下外边距设为 15px */
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.wp-block-media-text__media {
    flex: 0 0 48%; /* 图片占48% */
    margin-right: 2% !important; /* 右边距设置为 2%，形成4%的留白 */
}

.wp-block-media-text__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px 0 0 10px;
}

.wp-block-media-text__content {
    flex: 0 0 50%; /* 文字占48% */
    display: flex;
    align-items: center;
    justify-content: flex-end; /* 文字靠左 */
    padding: 5px 5px 5px 0 !important;
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6em;
    background-color: #fff;
    border-radius: 0 10px 10px 0;
}

.wp-block-preformatted {
    font-size: 16px;
    line-height: 1.8em;
    white-space: pre-wrap;
    background-color: transparent;
    border: none;
    color: #555;
    margin: 0; /* 确保上下外边距为 0 */
    padding: 0; /* 确保上下内边距为 0 */
}

@media (max-width: 768px) {
    .wp-block-media-text.is-stacked-on-mobile {
        flex-direction: column;
        padding: 10px;
        margin: 15px 0; /* 确保在小屏幕下也有 15px 外边距 */
    }
    .wp-block-media-text__media {
        flex: 0 0 auto;
        max-width: 100%;
        margin: 0 0 15px 0; /* 为小屏幕提供间距 */
    }
    .wp-block-media-text__content {
        flex: 0 0 auto;
        padding-left: 0;
        padding-right: 0;
        justify-content: flex-start; /* 文字靠左 */
    }
}




.zhuige-breadcrumb {
    padding: 6px 0;
}

.zhuige-breadcrumb * {
    font-size: 14px;
    margin-right: 6px;
    font-weight: 200;
}

.zhuige-breadcrumb .fa {
    color: #999999;
}

.zhugie-header-fix {
    padding-top: 0px;
}

.zhuige-main-title {
    height: auto;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.zhuige-main-title>img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.zhuige-main-title-text { 
    position: absolute;
    z-index: 8;
    left: 0; /* 确保元素从左侧开始 */
    right: 0; /* 确保元素从右侧结束 */
    display: flex; /* 启用 Flexbox 布局 */
    flex-direction: column; /* 竖向排列 */
    justify-content: center; /* 垂直居中对齐 */
    align-items: center; /* 水平居中对齐 */
    width: 100%;
    text-align: center;
    color: #FFFFFF;
    top: 50%; /* 将元素的顶部移动到父容器的中间 */
    transform: translateY(-50%); /* 向上移动一半的高度，以实现完全居中 */
}


.zhuige-main-title-text h1 {
    font-size: 30px;
    line-height: 2em;
}

.zhuige-main-title-text p {
    font-size: 14px;
    font-weight: 200;
}

.zhuige-cooperation {
    padding: 10px 0;
    text-align: center;
}

.zhuige-cooperation a {
    width: 180px;
    height: 80px;
    overflow: hidden;
    margin: 5px;
    border: 1px solid #EEEEEE;
    transition: border-color .5s;
    -webkit-transition: border-color 0.5s;
}

.zhuige-cooperation a img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: .5s;
    -webkit-transition: .5s;
}

.zhuige-cooperation a:hover {
    border-color: #2B76ED;
}

.zhuige-cooperation a:hover img {
    transform: scale(1.1);
}

.zhuige-feed-form {
    width: 80%;
    margin: 0 10%;
    padding: 10px 0 30px;
}

.zhuige-form-line {
    height: 40px;
    line-height: 40px;
    border: 1px solid #EEEEEE;
    padding: 0 10px;
    background: #FFFFFF;
    margin-bottom: 10px;
}

.zhuige-form-line input {
    width: 80%;
}

.zhuige-form-line input::input-placeholder {
    color: #CCC;
    font-size: 14px;
    font-weight: 300;
}
.zhuige-form-line input::-webkit-input-placeholder {
    color: #CCC;
    font-size: 14px;
    font-weight: 300;
}
.zhuige-form-height-line textarea::input-placeholder {
    color: #CCC;
    font-size: 14px;
    font-weight: 300;
}
.zhuige-form-height-line textarea::-webkit-input-placeholder {
    color: #CCC;
    font-size: 14px;
    font-weight: 300;
}

.zhuige-form-line label,
.zhuige-form-height-line label {
    width: 80px;
    font-size: 16px;
    font-weight: 300;
}

.zhuige-form-height-line label {
    width: 150px;
}

.zhuige-form-height-line {
    height: 140px;
    line-height: 1.8em;
    border: 1px solid #EEEEEE;
    padding: 0 10px;
    background: #FFFFFF;
    margin-bottom: 10px;
}

.zhuige-form-height-line textarea {
    width: 90%;
    height: 120px;
    padding: 10px;
    line-height: 1.8em;
}

.zhuige-form-btn button {
    height: 36px;
    line-height: 36px;
    width: 100%;
    text-align: center;
    font-size: 16px;
    font-weight: 200;
    color: #FFFFFF;
    background: #2B76ED;
    border-radius: 2px;
    transition: .5s;
    -webkit-transition: 0.5s;
}

.zhuige-form-btn button:hover {
    background: #235BB0;
    cursor: pointer;
}

.zhuige-img-news {
    height: 380px;
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 4px;
}

@media(max-width:768px){
    .zhuige-img-news {
        height: 260px;
    }
}

.zhuige-img-news img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.zhuige-img-news h5 {
    position: absolute;
    height: 100%;
    line-height: 680px;
    width: 100%;
    padding: 0 20px;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.zhuige-img-news h5:hover {
    background: none;
}

.zhuige-img-news h5 a {
    display: block;
    width: 100%;
    height: 100%;
    font-size: 16px;
    color: #FFFFFF;
}

.zhuige-news {
    width: 100%;
    margin: 0 auto;
}

.zhuige-news-list .zhuige-article-list-block-img {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 180px;
    -ms-flex: 0 0 180px;
    flex: 0 0 180px;
    height: 120px;
    width: 180px;
    position: relative;
}

.zhuige-news-list .zhuige-article-list-block {
    border: none;
    padding: 0;
    margin-bottom: 10px;
}

.zhuige-news-list .zhuige-article-list-block-text h6 {
    font-size: 16px;
    font-weight: 500;
}

.zhuige-nav-mobile {
    display: none;
}

.zhuige-nav-mobile .zhuige-nav-list {
    padding: 0;
}

#toTop {
    position: fixed;
    z-index: 10;
    right: 10%;
    bottom: 100px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .zhuige-nav-side {
        display: none;
    }

    .zhuige-nav-mobile {
        display: block;
        position: fixed;
        z-index: 19;
        bottom: 0;
        width: 100%;
        background: #FFFFFF;
        height: 80px;
        line-height: 30px;
        padding-top: 15px;
        box-shadow: 0 10px 16px 8px rgba(79, 125, 183, .3);
    }

    .zhuige-nav-mobile .zhuige-nav-list {
        padding: 0;
    }

    footer {
        margin-bottom: 30px;
    }

    header {
        box-shadow: 0 10px 16px -8px rgba(79, 125, 183, .3);
    }

    .lb-box {
        height: 280px;
    }

    .zhuige-goods-block:nth-child(3),
    .zhuige-goods-block:nth-child(4) {
        display: none;
    }

    .zhuige-article-list-block-img {
        -webkit-flex: 0 0 120px;
        -ms-flex: 0 0 120px;
        flex: 0 0 120px;
        height: 80px;
        width: 120px;
    }

    .zhuige-single-nav .zhuige-nav-list li {
        padding: 0 10px;
    }

    .zhuige-single-nav .zhuige-nav-list li>a {
        font-size: 13px;
    }

    .zhuige-cooperation a {
        width: 160px;
    }

    .zhuige-main-title-text h1 {
        font-size: 22px;
        line-height: 1.8em;
        margin-bottom: 10px;
    }

    .zhuige-news {
        width: auto;
    }

    .zhuige-main-text .zhuige-block img {
        max-width: 100%;
    }

    #toTop {
        right: 10px;
    }

    .zhuige-feed-form {
        width: 90%;
        margin: 0 5%;
    }

    .zhuige-form-height-line textarea {
        width: 100%;
        height: 100px;
    }

    .zhuige-main-title {
        height: 240px;
    }

    .zhuige-main-title-text {
        height: auto;
        display: flex;
        justify-content: center; /* 水平居中 */
        align-items: center;
    }
}

body .layui-layer-noboxshade{
    background: 0 0;
    box-shadow: none;
}

body .layui-layer-noboxshade .layui-layer-content {
    overflow: hidden;
}

/*** 为什么选择我们 ***/
.zhuige-base-text-img {
    text-align: center;
    padding: 0 10px;
}

.zhuige-base-text-img .fa {
    font-size: 2em;
    line-height: 2em;
    color: #FFFFFF;
}

.zhuige-base-text-img div {
    height: 72px;
    width: 72px;
    line-height: 72px;
    border-radius: 50%;
    background: #2B76ED;
    margin: 10px auto;
}

.zhuige-hvr-float-shadow{
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
}

.zhuige-hvr-float-shadow:hover {
    transform: translateY(-10px); /* 向上浮动10像素 */
}

.zhuige-hvr-float-shadow:before {
    pointer-events: none;
    position: absolute;
    z-index: -1;
    content: '';
    top: 100%;
    left: 5%;
    height: 10px;
    width: 90%;
    opacity: 0;
    background: -webkit-radial-gradient(center, ellipse, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 60%);
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 60%);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform, opacity;
    transition-property: transform, opacity;
}

.zhuige-hvr-float-shadow:hover:before {
    opacity: 1; /* 悬停时阴影可见 */
    transform: translateY(10px); /* 阴影下移 */
}

/* 按钮 */
.more-products-button .btn {
    padding: 10px 20px;
    background-color: #2B76ED; /* 设置背景色 */
    color: white; /* 设置文字颜色 */
    text-decoration: none; /* 去掉下划线 */
    border-radius: 25px; /* 设置圆角 */
    border: none; /* 去掉边框 */
    transition: background-color 0.3s, box-shadow 0.3s; /* 添加过渡效果 */
}

.more-products-button .btn:hover {
    background-color: #1a5db4; /* 悬停时的背景色 */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* 添加阴影效果 */
}

#cnt {
    padding-bottom: 30px;
    width: 100%;
}

/* 美化按钮的容器 */
.goods-tab {
    display: table;
    width: 100%;
    border-collapse: collapse;
}

/* 按钮样式，设置为类似表格的外观 */
.goods-cat {
    display: table-cell;
    text-align: center;
    border: 1px solid #ccc;
    padding: 10px 20px;
    background-color: #f8f8f8; /* 默认背景色 */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* 默认情况下的按钮链接样式 */
.goods-cat a {
    text-decoration: none;
    color: #333;
    display: block;
}

/* 选中的按钮样式（蓝色背景） */
.goods-cat.active {
    background-color: #007bff;
}

/* 选中的按钮链接字体颜色变为白色 */
.goods-cat.active a {
    color: white;
}

/*** 关于我们 ***/
/* 鼠标悬停时的效果 */
.about-image {
    flex: 1; 
    padding: 0; 
    margin: 0;
    position: relative; 
    overflow: hidden; 
    transition: transform 0.3s ease, filter 0.3s ease; 
}

.zoom-image {
    width: 100%; 
    height: auto; 
    transition: transform 0.3s ease; 
}

.about-image:hover .zoom-image {
    transform: scale(1.1); 
    filter: blur(0.5px);
}

.about-content {
    flex: 1; 
    padding-left: 10px; 
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 30px;
    font-size: 18px;
    line-height: 2.2em;
    color: #555555;
}

@media (max-width:768px){
    .about-content {
        font-size: 16px;
    }
}

#base {
    padding-left: 0; 
    padding-right: 0; 
}

#base .container {
    width: 90%;
    padding: 0;
    margin: 0 auto;
    max-width: none;
}

.zhuige-base-img-text {
    display: flex; 
    align-items: stretch; 
}

@media (max-width: 768px) {
    .zhuige-base-img-text {
        flex-direction: column; /* 设置为垂直排列 */
    }
    
    .about-image {
        margin-bottom: 10px; /* 图片与文本之间的间距 */
    }

    .about-content {
        padding-left: 0; /* 移除左侧内边距 */
        padding-right: 0; /* 移除右侧内边距 */
    }
}

.view-more-container {
    margin-top: 30px; /* 上方间距 */
    text-align: center; /* 让按钮居中对齐 */
}

.view-more-button {
    display: inline-block; /* 显示为块元素 */
    padding: 8px 20px; /* 内边距 */
    background-color: transparent; /* 透明背景 */
    color: black; /* 字体颜色为黑色 */
    text-align: center; /* 文字居中 */
    text-decoration: none; /* 去掉下划线 */
    border: 2px solid black; /* 黑色边框 */
    border-radius: 2px; /* 圆角边框 */
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; /* 添加过渡效果 */
}

.view-more-button:hover {
    background-color: #007bff; /* 鼠标悬停时的背景颜色 */
    color: white; /* 鼠标悬停时的字体颜色 */
    border-color: #007bff; /* 鼠标悬停时的边框颜色 */
}



/*** 底部信息 ***/
#footer-section {
    background-color: #FFFFFF; /* 白色背景 */
    height: 230px; /* 设置容器高度 */
    display: flex; /* 使用弹性布局 */
    justify-content: center; /* 水平居中内容 */
    align-items: center; /* 垂直居中内容 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 1); /* 顶部边界阴影 */
    padding: 0px; /* 内边距 */
    position: relative; /* 为内部绝对定位提供上下文 */
    border-bottom: 2px solid #000; /* 添加黑色横线 */
}

.zhuige-contact-img {
    width: 100%; /* 容器宽度铺满 */
    position: relative; /* 为绝对定位的子元素设置上下文 */
}

.overlay-content {
    display: flex; /* 使用弹性布局 */
    justify-content: space-between; /* 在两侧分布内容 */
    align-items: center; /* 垂直居中 */
    color: #333333; /* 文字颜色为深灰色 */
    font-size: 16px; /* 字体大小 */
    font-family: Arial, sans-serif; /* 字体样式 */
}

.qrcode-section {
    flex: 0 0 auto; /* 不可伸缩的部分 */
    margin-left: 15%; /* 左侧间距 */
    margin-right: 100px; /* 右侧间距 */
}

.qrcode {
    width: 100px; /* 根据需要调整二维码大小 */
    height: 100px; /* 根据需要调整二维码大小 */
    border-radius: 5px; /* 圆角效果 */
    box-shadow: 0 2px 4px rgba(0.1, 0.1, 0.2, 0.3); /* 二维码阴影 */
}

.nav-section {
    flex: 1; /* 自适应宽度 */
    margin-right: 15%;
}

.footer-nav {
    height: 40px;
    margin-left: 10px;
}

.footer-nav ul {
    list-style: none; /* 去掉默认列表样式 */
    padding: 0; /* 去掉内边距 */
    margin: 0; /* 去掉外边距 */
}

.footer-nav ul li {
    display: inline; /* 横向排列 */
    margin-right: 20px; /* 项目间距 */
}

.footer-nav ul li a {
    color: #333333; /* 导航链接颜色设为深灰色 */
    font-size: 16px; /* 导航字体大小 */
    text-decoration: none; /* 去掉下划线 */
}

.footer-nav ul li a:hover {
    text-decoration: underline; /* 悬停时添加下划线 */
}

.contact-info {
    margin-top: 15px; /* 上方间距 */
    margin-left: 10px;
}

.contact-info p {
    margin: 5px 0; /* 上下间距 */
    color: #555555; /* 设置文字颜色为更柔和的深灰色 */
    font-size: 14px; /* 文本大小 */
}

.contact-info a {
    color: #1a73e8; /* 邮箱链接颜色 */
    font-size: 14px; /* 邮箱链接字体大小 */
    text-decoration: none; /* 去掉下划线 */
}

.contact-info a:hover {
    text-decoration: underline; /* 悬停时添加下划线 */
}

.separator {
    border-top: 2px solid #000; /* 黑色横线 */
    margin: 0; /* 上下间距 */
}

.qrcode-label {
    margin-top: 10px; /* 上方间距 */
    color: #ffffff; /* 文本颜色设为白色 */
    font-size: 16px; /* 文本大小 */
    font-weight: bold; /* 加粗字体 */
    text-align: center; /* 居中对齐 */
    background-color: rgba(0, 0, 0, 0.5); /* 半透明黑色背景 */
    padding: 5px 10px; /* 内边距 */
    border-radius: 5px; /* 圆角效果 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* 文字阴影 */
    transition: color 0.3s ease, background-color 0.3s ease; /* 添加过渡效果 */
}

.qrcode-label:hover {
    color: #f1c40f; /* 悬停时文本颜色变为金黄色 */
    background-color: rgba(0, 0, 0, 0.7); /* 悬停时背景变为更深的黑色 */
}

@media (max-width: 768px) {
    #footer-section {
        flex-direction: column; /* 切换为纵向布局 */
        height: auto; /* 高度自动适应内容 */
        padding: 10px; /* 减小内边距 */
    }

    .overlay-content {
        flex-direction: column; /* 切换为纵向排列 */
        align-items: center; /* 居中对齐 */
    }

    .qrcode-section {
        margin-left: 0; /* 移除左侧间距 */
        margin-right: 0; /* 移除右侧间距 */
        margin-top: 10px; /* 添加上方间距 */
    }

    .nav-section {
        margin-right: 0; /* 移除右侧间距 */
        margin-top: 10px; /* 添加上方间距 */
        text-align: center; /* 居中对齐 */
    }

    .footer-nav ul {
        flex-direction: column; /* 切换为纵向排列 */
        align-items: center; /* 居中对齐 */
    }

    .footer-nav ul li {
        margin-right: 0; /* 移除右侧间距 */
        margin-bottom: 10px; /* 添加下方间距 */
        padding: 0 8px; /* 增加左右内边距 */
    }

    .contact-info {
        text-align: center; /* 居中对齐 */
    }

    .qrcode {
        width: 80px; /* 减小二维码大小 */
        height: 80px; /* 减小二维码大小 */
    }

    .qrcode-label {
        font-size: 14px; /* 减小文本大小 */
    }
}

/*** 图库 ***/
/* 容器设置 */
.wp-block-group__inner-container {
    display: flex; /* 使用 Flexbox 布局 */
    flex-wrap: wrap; /* 允许换行 */
    justify-content: flex-start; /* 左对齐子元素 */
}

/* 图像框设置 */
.wp-block-image {
    width: 50%; /* 设置宽度为50% */
    padding: 10px; /* 添加内边距，确保图像框之间有空间 */
    box-sizing: border-box; /* 包括内边距和边框在内 */
}

figure {
    margin: 0; /* 去掉默认边距 */
    border: 1px solid #ddd; /* 添加边框 */
    border-radius: 5px; /* 圆角边框 */
    background-color: #f9f9f9; /* 浅色背景 */
}

.wp-block-image img {
    max-width: 100%; /* 图像最大宽度为100% */
    height: auto; /* 自动高度 */
    display: block; /* 将图像设置为块元素 */
}

.wp-element-caption {
    margin-top: 10px; /* 描述与图像之间的间距 */
    font-size: 14px; /* 描述字体大小 */
    color: #555; /* 描述字体颜色 */
    text-align: center; /* 描述文本居中对齐 */
}


/*** 产品中心标签 ***/
.tag-buttons {
    text-align: center; /* 居中对齐 */
    border-bottom: 1px solid #ccc; /* 底部灰色线条 */
    padding: 0; /* 上下内边距，保持标签与边框之间的距离 */
    margin: 0; /* 去掉外边距，保持与下方内容的紧密结合 */
}

.tag-link {
    display: inline-block; /* 使链接成为块级元素，方便设置内边距 */
    padding: 15px 20px; /* 内边距，增加可点击区域 */
    color: #000; /* 默认字体颜色 */
    border: none; /* 去掉边框 */
    text-decoration: none; /* 去掉下划线 */
    transition: background-color 0.3s, color 0.3s; /* 添加过渡效果 */
    font-size: 18px; /* 调整字体大小 */
}

.tag-link:hover {
    background-color: #2C70DB; /* 鼠标悬停时背景色 */
    color: white; /* 鼠标悬停时字体颜色变为白色 */
}

.tag-link.active {
    background-color: #2C70DB; /* 激活状态背景色 */
    color: white; /* 激活状态字体颜色 */
}

/* 移除标签之间的间距 */
.tag-link + .tag-link {
    margin-left: 0; /* 去掉标签之间的左边距 */
}
/* 针对移动设备的媒体查询 */
@media (max-width: 767px) {
    .tag-link {
        font-size: 16px; /* 移动端字体大小为16px */
    }
}


/* 容器样式，确保每行显示四个盒子 */
.product-list {
    display: flex;
    flex-wrap: wrap;
}

/* 每个产品盒子的宽度和间距 */
.product-list-block {
    width: 24%; /* 调整盒子的宽度 */
    margin-right: 1%; /* 调整右边距 */
    margin-top: 40px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* 确保内容从底部开始排列 */
    text-align: center;
    position: relative;
}

/* 去掉最后一个盒子的右边距 */
.product-list-block:nth-child(4n) {
    margin-right: 0; /* 只针对每行的最后一个产品盒子 */
}

/* 产品图片样式，添加底部的 margin 间距，防止图片与文字重叠 */
.product-list-block-img img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 15px; /* 在图片底部添加 15px 的 margin */
}

/* 产品名称始终在底部显示，并添加上边框 */
.product-list-block .product-text {
    border-top: 1px solid #ccc; /* 添加上边框 */
    padding: 10px; /* 调整边框与文字的间距 */
    text-align: center;
    overflow: hidden; /* 隐藏超出边框的内容 */
    box-sizing: border-box; /* 确保内边距和边框计入总宽度 */
    word-wrap: break-word; /* 允许长单词换行 */
    white-space: normal; /* 允许正常换行 */
}

/* 产品名称样式 */
.product-list-block h6 {
    font-size: 16px;
    color: #333;
    margin: 0; /* 去掉边距以便更好地贴合底部 */
}

/* 添加边框和宽度样式 */
#product-container2 {
    width: 100%; /* 设置宽度为100% */
    border: 1px solid #ccc; /* 添加边框 */
    box-sizing: border-box; /* 确保边框不会影响宽度 */
    padding: 20px; /* 添加内边距以增加视觉效果（可选） */
    margin: 0 auto; /* 使容器居中（可选） */
}

.product-list {
    padding-top: 0px;
}

.product-list-block {
    transition: box-shadow 0.3s; /* 添加过渡效果 */
}

.product-list-block:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 添加悬停效果 */
}

/* 针对移动设备的媒体查询 */
@media (max-width: 767px) {
    .product-list-block {
        width: 48%; /* 移动端每行显示两个产品 */
        margin-right: 4%; /* 右边距调大以适应两列 */
    }

    /* 每行最后一个产品的右边距去除 */
    .product-list-block:nth-child(2n) {
        margin-right: 0; /* 移动端每行最后一个产品不需要右边距 */
    }
}

/* 针对更小的手机端的媒体查询 */
@media (max-width: 480px) {
    .product-list-block {
        width: 100%; /* 更小手机端每行显示一个产品 */
        margin-right: 0; /* 去掉右边距 */
    }
}

/* 文章 */
.zhuige-main-text .zhuige-block p {
    text-indent: 2em; /* 首行缩进两个字符 */
    line-height: 1.6; /* 行间距 */
    margin-bottom: 1em; /* 段落之间的距离 */
    font-size: 16px; /* 字体大小 */
    color: #000000;; /* 字体颜色 */
    padding-left: 20px; /* 左边距 */
    padding-right: 20px; /* 右边距 */
}

.wp-block-list {
    padding-left: 20px; /* 左侧内边距 */
    margin-bottom: 1em; /* 列表底部间距 */
    font-size: 16px; /* 字体大小 */
    color: #000000; /* 字体颜色 */
    padding-left: 20px; /* 增加左右边距 */
    margin-left: 20px; /* 增加左边距 */
}

.wp-block-list li {
    margin-bottom: 10px; /* 列表项之间的间距 */
    line-height: 1.6; /* 行间距 */
}

.has-fixed-layout {
    width: 100%; /* 表格宽度100% */
    border-collapse: collapse; /* 合并边框 */
}

.has-fixed-layout th,
.has-fixed-layout td {
    border: 1px solid #000; /* 边框颜色 */
    padding: 8px; /* 内边距 */
    text-align: center; /* 居中对齐 */
}

.has-fixed-layout tbody tr:nth-child(odd) {
    background-color: #f2f2f2; /* 奇数行背景色 */
}

.has-fixed-layout tbody tr:nth-child(even) {
    background-color: #ffffff; /* 偶数行背景色 */
}

/* 产品中心 */
.zhuige-product-section {
    padding: 0 0; /* 上下内边距 */
    padding-bottom: 30px;
}

.new-product-grid {
    margin: 0 5%; /* 左右边距为8% */
}

.pd-container {
    width: 100%;
}

.single-product-block {
    position: relative; /* 为绝对定位的子元素提供相对定位 */
    width: calc(25% - 16px); /* 平分宽度，减去间距 */
    margin: 0 8px 16px; /* 上下间距和左右间距 */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* 阴影效果 */
    border-radius: 5px; /* 圆角 */
    overflow: hidden; /* 防止子元素超出边界 */
    transition: transform 0.3s, box-shadow 0.3s; /* 动效 */
}

.single-product-block:hover {
    transform: translateY(-5px); /* 悬停时上升效果 */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* 加强阴影 */
}

.single-product-block img {
    width: 100%; /* 图片宽度自适应 */
    height: auto; /* 保持纵横比 */
}

.single-product-block h6 {
    position: absolute; /* 绝对定位产品名称 */
    bottom: 0; /* 靠底部 */
    left: 0; /* 靠左 */
    right: 0; /* 右侧填满 */
    padding: 10px; /* 内边距 */
    background: rgba(255, 255, 255, 0.8); /* 背景半透明 */
    color: #333; /* 字体颜色 */
    font-size: 16px; /* 字体大小 */
    text-align: left; /* 左对齐 */
    transition: background 0.3s; /* 动效 */
}

.single-product-block h6:hover {
    background: rgba(255, 255, 255, 1); /* 悬停时背景变为不透明 */
}
/* 手机端适配 */
@media (max-width: 768px) {
    .single-product-block {
        width: 100%; /* 全宽 */
        margin: 0 0 16px; /* 上下间距 */
    }

    .new-product-grid {
        justify-content: center; /* 中心对齐 */
    }
}

/* 新闻动态 */
.news-container {
    width: 90%;
    margin: 0 auto;
}


/* 合作伙伴 */
@keyframes slide-in {
    from {
        transform: translateX(100%); /* 从右侧开始 */
        opacity: 0; /* 初始透明度为0 */
    }
    to {
        transform: translateX(0); /* 移动到原位置 */
        opacity: 1; /* 完全可见 */
    }
}

.partner-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.partner-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.friend-item {
    width: 250px;   /* 固定宽度 */
    height: 100px;  /* 固定高度 */
    border: 1px solid #ccc;  /* 边框 */
    box-sizing: border-box;  /* 包括边框和填充 */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.friend-item img {
    width: 100%;          /* 使图像宽度为100% */
    height: 100%;         /* 使图像高度为100% */
    object-fit: contain;  /* 保持宽高比，确保整个图像可见 */
    display: block;       /* 防止底部空白 */
}

.show {
    animation: slide-in 0.2s forwards; /* 应用滑入动画 */
}

@media (max-width: 768px) {
    .friend-item {
        width: 175px; /* 手机时的宽度 */
        height: 70px;  /* 手机时的高度 */
    }
    
    /* 使每行显示三个伙伴 */
    #row1, #row2, #row3 {
        display: flex; /* 使用flex布局 */
        flex-wrap: wrap; /* 允许换行 */
    }

    /* 控制每行最多显示三个伙伴 */
    #row1 .friend-item:nth-child(n+4),
    #row2 .friend-item:nth-child(n+4),
    #row3 .friend-item:nth-child(n+4) {
        display: none; /* 隐藏第四个及之后的伙伴 */
    }
}

@media (max-width: 480px) {
    /* 控制每行最多显示两个伙伴 */
    #row1 .friend-item:nth-child(n+3),
    #row2 .friend-item:nth-child(n+3),
    #row3 .friend-item:nth-child(n+3) {
        display: none; /* 隐藏第三个及之后的伙伴 */
    }
}

